import 'package:flutter/material.dart';
import 'package:flutter_boss_mine/http/http_utils.dart';
import 'package:flutter_boss_mine/main/main_page.dart';
import 'package:flutter_screenutil/screenutil.dart';

void main(){
  HttpUtils.init(baseUrl: "http://mock.moneylee.cn/mock/5f996ef6191a2b0020312c83/boss");
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: "Flutter Demo",
      theme: ThemeData(
        primarySwatch: Colors.blue,
        splashColor: Colors.transparent,
        // 长按时的扩散效果设置为透明 去除水波纹效果
        highlightColor: Colors.transparent,
      ),
      home: MainPage(),
    );
  }
}


